package cn.school.educational.entity;

import cn.school.common.BaseVO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("t_homework_info")
public class HomeWorkInfo extends BaseVO {

    private static final long serialVersionUID = -5075814157292834335L;
    /**
     * 班级ID
     */
    private Long classId;

    /**
     * 班级名称
     */
    private String className;
    /**
     * 教员
     */
    private String createBy;

    /**
     * 班级名称
     */
    private Long subjectId;


    /**
     * 班级名称
     */
    private String subjectName;

    /**
     * 作业内容
     */
    private String workContent;

    /**
     * 是否允许评论 0-不允许 1-允许
     */
    private String isComments;

    /**
     * 图片路径
     */
    private String imgPath;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 状态 0-无效  1-有效
     */
    private String status;

    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;

    /**
     * 评论集合
     */
    @TableField(exist = false)
    List<HomeworkComments> commentsList;


}
